package com.lucas.servlet.springboot;


import com.lucas.servlet.springboot.service.LoginService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext context
                =  SpringApplication.run(Application.class, args);
        LoginService loginService=context.getBean(LoginService.class);
        loginService.login("123","123");  //测试方法能否正常运行
    }

}
